package com.zhiyizhen.handheld.component.pharmacy.bean;

import com.zhiyizhen.handheld.common.base.BaseBean;

import java.util.List;

public class CompleteRegimenReq extends BaseBean {

    private List<RxListBeanReq> rxList;
    private String orderId;

    public void setRxList(List<RxListBeanReq> rxList) {
        this.rxList = rxList;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public static class GroupListReq extends BaseBean {
        private List<GroupDetailListReq> detailList;
        private String groupName;

        public void setDetailList(List<GroupDetailListReq> detailList) {
            this.detailList = detailList;
        }

        public void setGroupName(String groupName) {
            this.groupName = groupName;
        }
    }

    public static class RxListBeanReq extends BaseBean {
        private Integer rxId;
        private String rxType;
        private List<DetailListReq> detailList;
        private List<GroupListReq> groupList;
        private TcmInfoReq tcmInfo;

        public void setRxId(Integer rxId) {
            this.rxId = rxId;
        }

        public void setRxType(String rxType) {
            this.rxType = rxType;
        }

        public void setDetailList(List<DetailListReq> detailList) {
            this.detailList = detailList;
        }

        public void setGroupList(List<GroupListReq> groupList) {
            this.groupList = groupList;
        }

        public void setTcmInfo(TcmInfoReq tcmInfo) {
            this.tcmInfo = tcmInfo;
        }


    }

    public static class TcmInfoReq extends BaseBean {
        private Integer currentDispenseQty;

        public void setCurrentDispenseQty(Integer currentDispenseQty) {
            this.currentDispenseQty = currentDispenseQty;
        }
    }

    public static class DetailListReq extends BaseBean {
        private Integer drugId;
        private Integer currentDispenseQty;

        public void setDrugId(Integer drugId) {
            this.drugId = drugId;
        }

        public void setCurrentDispenseQty(Integer currentDispenseQty) {
            this.currentDispenseQty = currentDispenseQty;
        }
    }

    public static class GroupDetailListReq extends BaseBean {
        private Integer drugId;
        private String currentDispenseQty;

        public void setDrugId(Integer drugId) {
            this.drugId = drugId;
        }

        public void setCurrentDispenseQty(String currentDispenseQty) {
            this.currentDispenseQty = currentDispenseQty;
        }
    }
}
